Ensure a message is printed on test failure
authorAlex Crichton <alex@alexcrichton.com>
Wed, 23 Jul 2014 19:49:32 +0000 (12:49 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 23 Jul 2014 20:08:57 +0000 (13:08 -0700)
commitab148e863bf28d25689a25bbf863bcc7b9b8773b
tree6efea712ca7da35c49a54deb977ece3d3cb6228f
parent93c2d0d4ffe3885f71a14b9cb9a92f11a8316c53
Ensure a message is printed on test failure

This previously relied on the test itself printing failure, but this is not
always the case for test which, for example, segfault. Instead this ensures that
*something* is always printed when a test fails, normally a short blurb about
what executable failed to run.
src/bin/cargo-test.rs
tests/test_cargo_test.rs